﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace HgRemoteContracts
{
	[DataContract]
	public class HgRepo
	{
		public HgRepo()
		{
			Tasks = new List<HgTask>();
		}

		[DataMember]
		public string Name { get; set; }

		[DataMember]
		public List<HgTask> Tasks { get; set; }

		public override string ToString()
		{
			return Name;
		}
	}

	[DataContract]
	public class HgTask
	{
		[DataMember]
		public string Name { get; set; }

		public override string ToString()
		{
			return Name;
		}
	}
}
